package cn.jd.javase.exvryday.demo;
//import java.util.Scanner;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.Properties;
import java.util.Random;
import java.util.Scanner;
//import java.util.Scanner;

public class text {


    public static void main(String[] args) throws Exception{
        Properties pr = new Properties();
        InputStream in = new FileInputStream("D:\\IDEA_javaSE代码\\src\\cn\\jd\\javase\\exvryday\\demo\\test.properties");
        pr.load(in);
        System.out.println(pr.getProperty("key"));
    }
}
